package com.unohacha.qqj.fzdr;

import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.unohacha.qqj.mylibrary.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class FeedbackCommitActivity extends BaseActivity {

    @BindView(R.id.common_back)
    ImageView commonBack;
    @BindView(R.id.common_title)
    TextView commonTitle;
    @BindView(R.id.common_right_image)
    ImageView commonRightImage;
    @BindView(R.id.common_right_text)
    TextView commonRightText;
    @BindView(R.id.edit_text)
    EditText editText;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_feedback_commit;
    }

    @Override
    protected void initView() {
        super.initView();
        commonTitle.setText("意见反馈");
        commonRightImage.setVisibility(View.GONE);
        commonRightText.setText("提交");
        commonRightText.setTextColor(getResources().getColor(R.color.app_green));
    }

    @OnClick(R.id.common_back)
    public void onViewClicked() {
        finish();
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }

    @OnClick(R.id.common_right_text)
    public void onCommitClicked() {
        //todo 提交
    }
}
